package com.jbp.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TopRooms {
    private Integer id;

    //房间id
    private Integer roomId;

    //房间名称
    private String roomName;

    //占比百分之
    private Integer proportion;

    //金额(元)
    private BigDecimal amount;

    //房间头像
    private String img;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //是否上一期；1-是;0-否
    private String flag;

    //基础值金额(元)
    private BigDecimal baseAmount;

    //房间贡献金额(元)
    private BigDecimal contributeAmount;

    //名次
    private Integer position;

    //档期
    private String schedule;

}